﻿using ArtheaEngine;

namespace ArtheaServer.Commands
{
    public class AutotickCommand : AutoCommand
    {
        public AutotickCommand() : base("autotick", "Toggles whether you receive game timer messages.")
        {
        }

        public override void Execute(Character ch, Argument argument)
        {
            if (!(ch is Player)) return;
            Toggle(ch, Player.AutoTick, "You are now notified on game timers.",
                   "You no are no longer notified of game timers.");
        }
    }
}